package cate.game.pvp.eliterace.data;

import cate.game.play.proce.play.PlayPO;
import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class EliteRaceVideo {
    public static final String INDEX_NAME = "INDEX";

    private String uid;
    private boolean addedBoth;
    private EliteRaceSpec spec;
    private PlayPO playPO;

    public static EliteRaceVideo of(String uid, EliteRaceSpec spec, PlayPO playPO, boolean addedBoth) {
        EliteRaceVideo video = new EliteRaceVideo();
        video.setUid(uid);
        video.setPlayPO(playPO);
        video.setSpec(spec);
        video.setAddedBoth(addedBoth);
        return video;
    }
}
